<?php

namespace app\api\logic\qiniu;

use app\common\service\Qiniu as QiniuService;

class Upload
{
    public function __construct(
        QiniuService $qiniuService
    )
    {
        $this->qiniuService = $qiniuService;
    }

    public function token()
    {
        return ['data' => $this->qiniuService->uploadToken()];
    }
}
